Remove quantified constraints in FieldGrammar#11729
Remove quantified constraints in FieldGrammar#11729mergify[bot] merged 1 commit intohaskell:masterfrom
Conversation
4a6f208 to
2cdb355
Compare
|
Drafting because I forgot to remove the language extension "QuantifiedConstraints". |
sheaf
left a comment
There was a problem hiding this comment.
Yes, this looks fine (modulo actually removing the LANGUAGE pragma of course). I felt slightly bad for adding the quantified constraints in the first place; I agree it's not so bad to spell them out. Thanks!
2cdb355 to
c0dd136
Compare
Merge Queue Status
This pull request spent 1 hour 39 minutes 9 seconds in the queue, including 1 hour 28 minutes 28 seconds running CI. Waiting for:
or
or
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. |
|
@mergify queue |
Merge Queue Status
This pull request spent 2 hours 1 minute 28 seconds in the queue, including 1 hour 51 minutes 6 seconds running CI. Required conditions to merge
|
Previously field grammar was written with quantified constraints, this PR refactors them to concrete types (there's actually not a lot of them!). This would help the exact print project and in general make it easier to scrutinize which term is requiring which constraint.
EDIT: at the request of Jappie, here's an error caused by an application of type family on a quantified constraint when implementing exact print. Removing the quantification helps the compiler resolve this constraint.
error message
This change doesn't change behaviour or interface.